package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 钱包游戏管理对象 tab_wallet_game
 * 
 * @author ruoyi
 * @date 2021-11-09
 */
public class TabWalletGame extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 钱包地址 */
    @Excel(name = "钱包地址")
    private String walletAddress;

    /** 游戏名称 */
    @Excel(name = "游戏名称")
    private String game;

    /** 过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

    public Long getExpireTimeLong() {
        return expireTimeLong;
    }

    public void setExpireTimeLong(Long expireTimeLong) {
        this.expireTimeLong = expireTimeLong;
    }

    private Long expireTimeLong;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    /** nft限制数量 */
    @Excel(name = "nft限制数量")
    private Long limitNft;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWalletAddress(String walletAddress) 
    {
        this.walletAddress = walletAddress;
    }

    public String getWalletAddress() 
    {
        return walletAddress;
    }
    public void setGame(String game) 
    {
        this.game = game;
    }

    public String getGame() 
    {
        return game;
    }
    public void setExpireTime(Date expireTime) 
    {
        this.expireTime = expireTime;
    }

    public Date getExpireTime() 
    {
        return expireTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setLimitNft(Long limitNft) 
    {
        this.limitNft = limitNft;
    }

    public Long getLimitNft() 
    {
        return limitNft;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("walletAddress", getWalletAddress())
            .append("game", getGame())
            .append("expireTime", getExpireTime())
            .append("status", getStatus())
            .append("limitNft", getLimitNft())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
